package com.yuanmei.model;

public class AmountStat {
    private float amount;
    private float volume;
    private int count;

    public AmountStat(float amount, float volume, int count) {
        this.amount = amount;
        this.volume = volume;
        this.count = count;
    }

    public float getAmount() {
        return amount;
    }

    public void setAmount(float amount) {
        this.amount = amount;
    }

    public float getVolume() {
        return volume;
    }

    public void setVolume(float volume) {
        this.volume = volume;
    }

    public int getCount() {
        return count;
    }
    public void setCount(int count) {
        this.count = count;
    }


//    @Override
//    public int compareTo(@NonNull AmountStat other) {
//        // 排倒序，量大的在前面
//        return  Float.compare(other.amount, this.amount);
//    }
}


